package cn.cs.fallback;

import cn.cs.client.AgentSettlementDetailedClient;
import cn.cs.pojo.SettlementDetailed;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 类似于try catch中的catch块中的内容，即发生错误时，处理的过程
 * 是用来发生熔断时的顶包组件,因此也必须实现接口
 * 异常时做一些处理，给用户一个交代
 * */
@Component
public class AgentSettlementDetailedFallBack implements AgentSettlementDetailedClient {


    @Override
    public Map<String, String> getSettlementDetailedById(String id) throws Exception {
        return null;
    }

    @Override
    public List<SettlementDetailed> getSettlementDetailedListByMap(Map<String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer getSettlementDetailedCountByMap(Map<String, Object> param) throws Exception {
        return null;
    }

    @Override
    public Integer addSettlementDetailed(SettlementDetailed settlementDetailed) throws Exception {
        return null;
    }

    @Override
    public Integer modifySettlementDetailed(SettlementDetailed settlementDetailed) throws Exception {
        return null;
    }

    @Override
    public Integer deleteSettlementDetailedById(String id) throws Exception {
        return null;
    }

    @Override
    public Integer updateSettlementDetailedState(String id, String personId) throws Exception {
        return null;
    }

    @Override
    public Integer insertRepairOrderList(List<Map<String, String>> list) throws Exception {
        return null;
    }

    @Override
    public List<Map<String, Object>> getSetHisList(String id) {
        return null;
    }

    @Override
    public Map<String, Object> getSetInfoById(String id) {
        return null;
    }

    @Override
    public List<Map<String, Object>> capitalInfoList() {
        return null;
    }
}
